package com.whnk.attendance.vo;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 区域列表对象 area_info
 *
 * @author whnk
 * @date 2021-12-10
 */

public class AreaInfoUpdateVo implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 交付区域编号 */
    @NotBlank(message = "交付区域编号不能为空")
    @ApiModelProperty(value = "交付区域编号",required = true)
    private String areaId;

    /** 交付区域名称 */
    @NotBlank(message = "交付区域名称不能为空")
    @ApiModelProperty(value = "交付区域名称",required = true)
    private String areaName;

    /** 交付经理 */
    @ApiModelProperty(value = "交付经理")
    private String areaManager;

    /** 隶属区域编号 */
    @NotBlank(message = "隶属区域编号不能为空")
    @ApiModelProperty(value = "隶属区域编号",required = true)
    private String parentId;

    /** 区域级别 */
    @NotNull(message = "区域级别不能为空")
    @ApiModelProperty(value = "区域级别",required = true)
    private Integer areaLevel;

    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getAreaManager() {
        return areaManager;
    }

    public void setAreaManager(String areaManager) {
        this.areaManager = areaManager;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public Integer getAreaLevel() {
        return areaLevel;
    }

    public void setAreaLevel(Integer areaLevel) {
        this.areaLevel = areaLevel;
    }

    @Override
    public String toString() {
        return "AreaInfoUpdateVo{" +
                "areaId='" + areaId + '\'' +
                ", areaName='" + areaName + '\'' +
                ", areaManager='" + areaManager + '\'' +
                ", parentId='" + parentId + '\'' +
                ", areaLevel=" + areaLevel +
                '}';
    }

}
